<?php echo form_open_multipart(uri_string())?>    
<?php $item = $query;?>
    <table class="form">
       
        <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('video_name');?></td>
            <td><input type="text" name="video_name" id="video_name" class="w250" value="<?php echo $item->name;?>"></td>
        </tr> 
         <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('video_name_en');?></td>
            <td><input type="text" name="video_name_en" id="name_video_en" class="w250" value="<?php echo $item->name_en;?>"></td>
        </tr> 
         <tr>
            <td class="label" style="width: 150px;"><?php echo lang('video_description');?></td>
            <td><textarea name="video_description" class="dimensions_textarea" ><?php echo $item->description;?></textarea>
          
            </td>
        </tr>
        <tr>
            <td class="label" style="width: 150px;"><?php echo lang('video_description_en');?></td>
            <td><textarea name="video_description_en" class="dimensions_textarea" ><?php echo $item->description_en;?></textarea></td>
        </tr>
          
         <tr>
            <td class="label" style="width: 150px;"><?php echo lang('present');?></td>
            <td><input type="text" name="present" id="present" class="w250" value="<?php echo $item->present;?>"></td>
        </tr> 
         <tr>
            <td class="label" style="width: 150px;"><?php echo lang('author');?></td>
            <td><input type="text" name="author" id="author" class="w250" value="<?php echo $item->author;?>"></td>
        </tr> 
         <tr>
            <td class="label" style="width: 150px;"><?php echo lang('video_image');?></td>
            <td> 
            <img alt="<?php echo $item->name;?>" src="<?php echo base_url_site()."uploads/images/video/small/".$item->image;?>" width="100"><br/>
            <input type="text" name="lb_image" class="w350" value="" id="file_name">
             <a href="<?php echo base_url()?>file_manager/img_lib/file_name" id="addimages" class="cboxElement" title="<?php echo lang('file_mng_add_file');?>"> <img src="<?php echo base_url()?>templates/images/icon/attach.png" alt=""> </a></td>
        </tr>
         <tr>
            <td class="label" style="width: 150px;"><?php echo lang('video_link');?></td>
            <td><input type="text" name="link" id="link" class="w250" value="<?php echo $item->link;?>"></td>
        </tr> 
         <tr>
            <td class="label" style="width: 150px;"><?php echo lang('video_file');?></td>
            <td><input type="file" name="uploadfile" /></td>
        </tr>
       
        <tr>
            <td class=" label"><?php echo lang('active_deactive');?></td>
            <td><input type="checkbox" name="bl_active" id="bl_active" checked  value="1"  onclick="setCheckboxValue(this);"></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="bt_submit" value="" class="capnhat">
            </td>
        </tr>  
    </table>
<?php echo form_close()?>